<%-- 
    Document   : dialog_component_properties
    Created on : 14.03.2014, 12:26:24
    Author     : Corvus 11
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>

<div id="component_properties_main">
    <form:form id="componentForm" commandName="componentCommandForm">
        <table class="table no-border">
            <tr>
                <td>Название: </td>
                <td>${componentCommandForm.description}</td>
            </tr>
            <tr>
                <td>Серийный номер: </td>
                <td>${componentCommandForm.serial}</td>
            </tr>
            <tr>
                <td>Тип: </td>
                <td>${componentCommandForm.typeName}</td>
            </tr>
            <tr>
                <td>Дата покупки: </td>
                <td>${componentCommandForm.buyDateString}</td>
            </tr>
            <tr>
                <td>Гарантия до: </td>
                <td>
                    ${componentCommandForm.warrantyEndDateString}
                </td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: right"><i>Оборудование было списано.</i></td>
            </tr>
        </table>
    </form:form>
</div>